html {
  font-size: 10px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
  color: #333;
  margin: 0;
}

a {
  color: rgb(46, 165, 106);
}

a:hover {
  color: rgb(28, 155, 194);
}

main {
  margin: 35px 15px;
  padding: 15px;
  background-color: #eee;
  border-radius: 5px;
}

h1 {
  font-size: 4rem;
  margin-bottom: 0;
  animation: fade 3s infinite;
}

@keyframes fade {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}


#img-div {
  background-color: white;
  border-radius: 10px;
  padding: 15px;

  #image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  #img-caption {
    border-right: .1em solid;
    width: 28ch;
    margin: 1rem auto;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 6s steps(18, end),
      blink-caret .5s step-end infinite alternate;
  }
}

#headline {
  margin: 50px 0;
  text-align: center;
}

ul {
  max-width: 550px;
  margin: 0px auto 50px;
  text-align: left;
  line-height: 1.6;

  li {
    margin: 16px 0;
  }
}

.line {
  width: 56px;
  height: 50px;
  vertical-align: middle;
}

blockquote {
  font-style: italic;
  max-width: 545px;
  margin: 0 auto 50px auto;
  text-align: left;
}

@media (max-width: 460px) {
  h1 {
    font-size: 3.5rem;
    line-height: 1.2;
  }

  #main {
    margin: 0;
  }

  #img-caption {
    font-size: 1.4rem;
  }
}